<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:22" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- Creating circuits -->
   创建电路
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <p>
    <b>
     上一节:
    </b>
    <a href="index.html">
     子电路
    </a>
   </p>
   <h1>
    <!-- Creating circuits -->
    创建电路
   </h1>
   <p>
    <!-- Every Logisim project is actually a library of circuits. In its simplest form, each project has only one circuit (called <b class=reffig>main</b> by default), but it is easy to add more: Click on the <img class="icontxt" src="../../../../img-guide/projadd.png" alt="#########" height=16 width=16> of the <a href="../gui/gui-toolsbar.html#tb4">small menu bar</a> above the navigation panel or <b class="tkeybd">right click</b> on the root of the tree in the navigation panel or else select <b class=menu>|&nbsp;Project&nbsp;|</b>→<b class=menu>|&nbsp;Add Circuit...&nbsp;|</b> and then type any name you like for the new circuit you want to create. -->
    每个 Logisim-evolution 项目实际上都是一个电路库。 在最简单的形式中，每个项目只有一个电路（默认情况下称为
    <b class="reffig">
     main
    </b>
    ），但添加更多电路很容易：单击
    <img alt="#########" class="icontxt" height="16" src="../../../../img-guide/projadd.png" width="16"/>
    <a href="../gui/gui-toolsbar.html#tb4">
     小菜单栏
    </a>
    位于导航面板上方，或者
    <b class="tkeybd">
     右键单击
    </b>
    导航面板中树的根部，或者选择
    <b class="menu">
     | Project |
    </b>
    →
    <b class="menu">
     | Add Circuit... |
    </b>
    ，然后为所需的新电路输入您喜欢的任何名称创造。
    <p>
     <!-- <b class=note>Note:</b> The name of the circuits must begin with a letter (A..Z, a..z) it can contain the signs (., _) And numbers. -->
     <b class="note">
      注意：
     </b>
     电路名称必须以字母（A..Z、a..z）开头，可以包含符号（.、_）和数字。
    </p>
    <p>
     <!-- Suppose we want to build a 2-to-1 multiplexer named <b class=reffig>Mux_2to1</b>." After adding the circuit, Logisim will look like this. -->
     假设我们要构建一个名为
     <b class="refig">
      Mux_2to1
     </b>
     的 2 选 1 多路复用器。”添加电路后，Logisim 将如下所示。
    </p>
    <p align="center">
     <img alt="#########" class="notscal" src="../../../img-guide/subcirc-1-add.png"/>
    </p>
    <p>
     <!-- In the explorer pane, you can now see that the project now contains two circuits, <b class=reffig>main</b>, and <b class=reffig>Mux_2to1</b> Logisim draws a magnifying glass over the icon of the circuit currently being viewed; the current circuit name also appears in the window's title bar. -->
     在资源管理器窗格中，您现在可以看到该项目现在包含两个电路，
     <b class="refig">
      main
     </b>
     和
     <b class="refig">
      Mux_2to1
     </b>
     Logisim 在 图标上绘制了一个放大镜 当前正在查看的电路； 当前电路名称也会出现在窗口的标题栏中。
    </p>
    <p>
     <!-- After editing the circuit to appear like a <b class=reffig>Mux_2to1</b>, we might end up with the following circuit. -->
     将电路编辑为
     <b class="refig">
      Mux_2to1
     </b>
     后，我们可能会得到以下电路。
    </p>
    <p align="center">
     <img alt="#########" src="../../../img-guide/subcirc-2-done.png"/>
    </p>
    <p>
     <!-- <b>Next:</b> <a href="sub-using.html">Using subcircuits</a>. -->
     <b>
      下一节:
     </b>
     <a href="sub-using.html">
      使用子电路
     </a>
     .
    </p>
   </p>
   <p>
   </p>
   <p>
   </p>
   <p>
   </p>
  </div>
 </body>
</html>
